package com.xyyl.patient.mapper.doctor;

import java.util.List;
import java.util.Map;

import com.xyyl.patient.core.mapper.GenericMapper;
import com.xyyl.patient.entity.doctor.Doctor;
import com.xyyl.patient.entity.doctor.DoctorPatientRelation;

/**
 * @projectName:xyyl-patient-service
 * @ClassName: AttentionDoctorMapper
 * @Description: 医患关系
 * @author chengjun
 * @date 2017年8月18日
 *
 */
public interface DoctorPatientRelationMapper  extends GenericMapper {
    public List<Doctor>  selectDoctorByPatientid(Integer Patientid);

	public Integer deleteByID(Integer id);

	public void deleteIMByParameter(DoctorPatientRelation doctorPatientRelation);

	public void deleteIMByPatientid(Map<String, Object> map);

	public void deleteDPRByPatientid(Map<String, Object> map);

	public Integer getFollow(Map<String, Object> map);

	public Integer saveFollow(Map<String, Object> map);

	public Integer deleteFollow(Integer id);

	public List<Doctor> followDoctorList(Integer patientid);

}